<?php

/**
 * Well framework
 *
 * This file is a subject under proprietary sofrware license
 * 
 * @category
 * @package
 * @subpackage
 * @author      valerii lazarevych <lazarevuch@gmail.com>
 * @copyright   Copyright(c) Valerii Lazarevych
 * @license     proprietary software license
 * @version     $Id: Task.php 19.07.2012 16:56:29 valerii $
 */

/**
 * Abstract Class Task
 * Base for all home tasks
 */
abstract class Task
{ 
    static $count=0;
    
    public function __construct() {
      self::$count++;
    }
        
    public function run()
    {
        if ( $this->do_Exercize()== "0" )
            return false;
        else     
            return true; 
    }
    
    abstract protected function do_Exercize();                
}
